home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
Aliases.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
73 lines
/*
File: Aliases.idl
Contains: Alias Manager Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __ALIASES_IDL__
#define __ALIASES_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __APPLETALK_IDL__
#include <AppleTalk.idl>
#endif
#ifndef __FILES_IDL__
#include <Files.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
/* define the alias record that will be the blackbox for the caller */
typedef SOMLargeStruct AliasRecord; /* Derived from a struct of 6 bytes in size */
typedef OpaquePtr AliasPtr; /* Substituted OpaquePtr for ``AliasRecord*'' */
typedef OpaquePtr AliasHandle; /* Substituted OpaquePtr for ``AliasPtr*'' */
/* alias record information type */
typedef short AliasInfoType;
/* create a new alias between fromFile-target and return alias record handle */
/* create a minimal new alias for a target and return alias record handle */
/* create a minimal new alias from a target fullpath (optional zone and server name) and return alias record handle */
/* given an alias handle and fromFile, resolve the alias, update the alias record and return aliased filename and wasChanged flag. */
/* given an alias handle and an index specifying requested alias information type, return the information from alias record as a string. */
/*
Given a file spec, return target file spec if input file spec is an alias.
It resolves the entire alias chain or one step of the chain. It returns
info about whether the target is a folder or file; and whether the input
file spec was an alias or not.
*/
/*
Low Level Routines
*/
/* given a fromFile-target pair and an alias handle, update the lias record pointed to by alias handle to represent target as the new alias. */
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
typedef OpaquePtr AliasFilterProcPtr;
typedef OpaquePtr AliasFilterUPP;
/* Given an alias handle and fromFile, match the alias and return aliased filename(s) and needsUpdate flag */
#endif
#endif /* __SOMIDL__ */
#endif /* __ALIASES_IDL__ */